<?php
namespace app\common\validate;
use think\Validate;

class Reply extends Validate
{
	protected $rule =   [
		'content'	=> 'require|min:10',
		'forum_id'	=> 'require|gt:0'
	];
	
	protected $message  =   [
		'content.require'	=> '内容必须填写',
		'content.min'		=> '至少输入10个字',
		'forum_id.require'	=> '主题不正确',
		'forum_id.gt'		=> '主题不正确'
	];
}